package com.ruoyi.project.ledger.domain;

import com.ruoyi.project.system.domain.SysDept;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 安全管理监督检查台账对象 ledger_safety_management_inspection
 *
 * @author gwc
 * @date 2020-04-14
 */
public class LedgerSafetyManagementInspection extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 场站id */
    private Long stationId;

    @Excel(name = "检查场站")
    private String stationName;

    /** 检查日期 */
    @Excel(name = "检查日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date checkDate;

    /** 受检单位 */
    private String checkCompany;

    /** 参加检查的部门及人员 */
    private String checkDeptWorker;

    /** 存在问题 */
    private String existingProblems;

    /** 整改意见 */
    private String rectificationOpinion;

    /** 整改结果 */
    private String rectificationResults;

    /** 检查类型(0-日常检查 1-专项检查) */
    @Excel(name = "检查类型", readConverterExp = "0=日常检查,1=专项检查,2=未知")
    private String checkType;
    /** 检查对象(0-叉车 1-消费设备) */
    private String checkObject;
    /** 检查内容 */
    private String checkContent;
    /** 是否存在问题（0-否 1-是）*/
    @Excel(name = "是否存在问题", readConverterExp = "0=否,1=是,2=未知")
    private String isProblems;
    /** 负责人签名 */
    @Excel(name = "检查人", width = 30)
    private String personInCharge;
    /** 是否整改(0-否 1-是) */
    @Excel(name = "是否整改", readConverterExp = "0=否,1=是,2=未知")
    private String isRectification;

    /** 复查人员签名 */
    private String reinspectionPerson;

    /** 复查人员签名日期 */
    private Date reinspectionPersonDate;

    /** 删除标志位 */
    private String delFlag;

    private String isBefore;

    private String isUpdate;

    /** 创建人 */
    private String createId;

    /** 更新人 */
    private String updateId;

    private SysDept sysDept;

    private String date;

    private String[] imgs;

    private List<Map<String,Object>> imgList;

    // 复查
    private String[] checkImgs;
    // 复查
    private List<Map<String,Object>> checkImgsList;

    List<LedgerSafetyManagementInspectionDaily> dailies;


    public LedgerSafetyManagementInspection() {
    }

    public LedgerSafetyManagementInspection(Long id, String isRectification) {
        this.id = id;
        this.isRectification = isRectification;
    }

    public LedgerSafetyManagementInspection(Long id, String type, String isUpdate) {
        this.id = id;
        this.isUpdate = isUpdate;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setStationId(Long stationId)
    {
        this.stationId = stationId;
    }

    public Long getStationId()
    {
        return stationId;
    }
    public void setCheckDate(Date checkDate)
    {
        this.checkDate = checkDate;
    }

    public Date getCheckDate()
    {
        return checkDate;
    }
    public void setCheckCompany(String checkCompany)
    {
        this.checkCompany = checkCompany;
    }

    public String getCheckCompany()
    {
        return checkCompany;
    }
    public void setPersonInCharge(String personInCharge)
    {
        this.personInCharge = personInCharge;
    }

    public String getPersonInCharge()
    {
        return personInCharge;
    }
    public void setCheckDeptWorker(String checkDeptWorker)
    {
        this.checkDeptWorker = checkDeptWorker;
    }

    public String getCheckDeptWorker()
    {
        return checkDeptWorker;
    }
    public void setExistingProblems(String existingProblems)
    {
        this.existingProblems = existingProblems;
    }

    public String getExistingProblems()
    {
        return existingProblems;
    }
    public void setRectificationOpinion(String rectificationOpinion)
    {
        this.rectificationOpinion = rectificationOpinion;
    }

    public String getRectificationOpinion()
    {
        return rectificationOpinion;
    }
    public void setRectificationResults(String rectificationResults)
    {
        this.rectificationResults = rectificationResults;
    }

    public String getRectificationResults()
    {
        return rectificationResults;
    }
    public void setReinspectionPerson(String reinspectionPerson)
    {
        this.reinspectionPerson = reinspectionPerson;
    }

    public String getReinspectionPerson()
    {
        return reinspectionPerson;
    }
    public void setReinspectionPersonDate(Date reinspectionPersonDate)
    {
        this.reinspectionPersonDate = reinspectionPersonDate;
    }

    public Date getReinspectionPersonDate()
    {
        return reinspectionPersonDate;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setCreateId(String createId)
    {
        this.createId = createId;
    }

    public String getCreateId()
    {
        return createId;
    }
    public void setUpdateId(String updateId)
    {
        this.updateId = updateId;
    }

    public String getUpdateId()
    {
        return updateId;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public SysDept getSysDept() {
        return sysDept;
    }

    public void setSysDept(SysDept sysDept) {
        this.sysDept = sysDept;
    }

    public String[] getImgs() {
        return imgs;
    }

    public void setImgs(String[] imgs) {
        this.imgs = imgs;
    }

    public List<Map<String, Object>> getImgList() {
        return imgList;
    }

    public void setImgList(List<Map<String, Object>> imgList) {
        this.imgList = imgList;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getCheckType() {
        return checkType;
    }

    public void setCheckType(String checkType) {
        this.checkType = checkType;
    }

    public String getCheckObject() {
        return checkObject;
    }

    public void setCheckObject(String checkObject) {
        this.checkObject = checkObject;
    }

    public String getCheckContent() {
        return checkContent;
    }

    public void setCheckContent(String checkContent) {
        this.checkContent = checkContent;
    }

    public String getIsProblems() {
        return isProblems;
    }

    public void setIsProblems(String isProblems) {
        this.isProblems = isProblems;
    }

    public String getIsRectification() {
        return isRectification;
    }

    public void setIsRectification(String isRectification) {
        this.isRectification = isRectification;
    }

    public String[] getCheckImgs() {
        return checkImgs;
    }

    public void setCheckImgs(String[] checkImgs) {
        this.checkImgs = checkImgs;
    }

    public List<Map<String, Object>> getCheckImgsList() {
        return checkImgsList;
    }

    public void setCheckImgsList(List<Map<String, Object>> checkImgsList) {
        this.checkImgsList = checkImgsList;
    }

    public List<LedgerSafetyManagementInspectionDaily> getDailies() {
        return dailies;
    }

    public void setDailies(List<LedgerSafetyManagementInspectionDaily> dailies) {
        this.dailies = dailies;
    }

    public String getIsBefore() {
        return isBefore;
    }

    public void setIsBefore(String isBefore) {
        this.isBefore = isBefore;
    }

    public String getIsUpdate() {
        return isUpdate;
    }

    public void setIsUpdate(String isUpdate) {
        this.isUpdate = isUpdate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("stationId", getStationId())
            .append("checkDate", getCheckDate())
            .append("checkCompany", getCheckCompany())
            .append("personInCharge", getPersonInCharge())
            .append("checkDeptWorker", getCheckDeptWorker())
            .append("existingProblems", getExistingProblems())
            .append("rectificationOpinion", getRectificationOpinion())
            .append("rectificationResults", getRectificationResults())
            .append("reinspectionPerson", getReinspectionPerson())
            .append("reinspectionPersonDate", getReinspectionPersonDate())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("createId", getCreateId())
            .append("updateTime", getUpdateTime())
            .append("updateId", getUpdateId())
            .append("remark", getRemark())
            .toString();
    }
}
